// 中间件实例

function m3(ctx) {
    global.console.log('m3输出')
}

module.exports = function () {
    return async function (ctx, next) {
        console.log('m3 start')
        m3(ctx)
        await next()
        console.log('m3 end')
    }
}